package com.ppd.yygh.order.utli;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

@Component
public class ConstantPropertiesUtils implements InitializingBean {

    private String appid = "wx74862e0dfcf69954";

    private String partner = "1558950191";

    private String partnerkey = "T6m9iK73b0kn9g5v426MKfHQH7X8rKwb";

    private String cert = "D:\\Study\\javaDevelop1Class\\project\\yygh\\after_end\\yygh_parent\\service\\service-order\\src\\main\\resources\\cert\\apiclient_cert.p12";


    public static String APPID;
    public static String PARTNER;
    public static String PARTNERKEY;
    public static String CRET;
    @Override
    public void afterPropertiesSet() throws Exception {
        APPID = appid;
        PARTNER = partner;
        PARTNERKEY = partnerkey;
        CRET = cert;
    }
}

